1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/pkg/versioning
Oliver Nocon 115025ce4b
versioning: fix panic when using go.mod (#1938)
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x9830a6]
goroutine 1 [running]:
github.com/SAP/jenkins-library/pkg/versioning.searchDescriptor(0xc00067c060, 0x2, 0x2, 0x0, 0x0, 0xc0006549c0, 0xc0006413a0, 0x982ce0)
/home/runner/work/jenkins-library/jenkins-library/pkg/versioning/versioning.go:156 +0x76
github.com/SAP/jenkins-library/pkg/versioning.(*GoMod).GetVersion(0xc0006549c0, 0x6, 0x18089f1, 0x6, 0xc000664a80)
/home/runner/work/jenkins-library/jenkins-library/pkg/versioning/gomodfile.go:52 +0x18a
...
```
2020-08-20 12:39:41 +02:00
..
descriptorUtils_test.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
descriptorUtils.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
docker_test.go Docker versioning: fall back to custom (#1484) 2020-04-29 13:42:14 +02:00
docker.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
gomodfile.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
gradle.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
inifile_test.go artifactPrepareVersioning: support more buildTools (#1367) 2020-04-15 13:12:43 +02:00
inifile.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
jsonfile_test.go artifactPrepareVersioning: support more buildTools (#1367) 2020-04-15 13:12:43 +02:00
jsonfile.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
maven_test.go Refactor maven.Evaluate() to take options (#1659) 2020-06-11 14:02:54 +02:00
maven.go Refactor maven.Evaluate() to take options (#1659) 2020-06-11 14:02:54 +02:00
pip_test.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
pip.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
versionfile_test.go artifactPrepareVersioning: support more buildTools (#1367) 2020-04-15 13:12:43 +02:00
versionfile.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
versioning_test.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
versioning.go versioning: fix panic when using go.mod (#1938) 2020-08-20 12:39:41 +02:00
yamlfile_test.go Implement YAMLfile.GetCooridnates() (#1604) 2020-05-27 17:20:34 +02:00
yamlfile.go Implement YAMLfile.GetCooridnates() (#1604) 2020-05-27 17:20:34 +02:00